﻿using EM.OA.DataModel.DBModel;
using EM.OA.WebCommon.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Web;
namespace EM.OA.Portal.Models
{
    public class BBSPostModels : BaseViewModel
    {
        /// <summary>
        /// 论坛发帖表ID
        /// </summary>		
        [Display(Name = "论坛发帖表ID")]
        public Guid BBSPostID { get; set; }
        /// <summary>
        /// 论坛-板块表id
        /// </summary>		
        [Display(Name = "论坛-板块表id")]
        public Guid BoradID { get; set; }
        /// <summary>
        /// 标题
        /// </summary>		
        [Display(Name = "标题")]
        public string PostTitle { get; set; }
        /// <summary>
        /// 内容
        /// </summary>		
        [Display(Name = "内容")]
        public string PostContent { get; set; }
        /// <summary>
        /// 是否有附件
        /// </summary>		
        [Display(Name = "是否有附件")]
        public bool HaveAttachment { get; set; }
        /// <summary>
        /// 发帖人可以不用自己的真命，临时取一个网名
        /// </summary>		
        [Display(Name = "发帖人可以不用自己的真命，临时取一个网名")]
        public string PostNickName { get; set; }
        /// <summary>
        /// 1：发帖（主体贴）时，记录为 guid的empty 类似000000-0000000-0000
        ///2：回复贴记录主体贴的id，形成父子结构
        /// </summary>		
        [Display(Name = "")]
        public Guid TopID { get; set; }
        /// <summary>
        /// 状态
        /// </summary>		
        [Display(Name = "状态")]
        public int Status { get; set; }

    }
}